﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VOL.SmartMecial
{
    /// <summary>
    /// API分页结果类
    /// 用于封装分页查询的结果
    /// </summary>
    /// <typeparam name="T">分页项目的类型</typeparam>
    public class ApiPaging<T>
    {
        /// <summary>
        /// 总页数
        /// </summary>
        public int TotalPage { get; set; }
        
        /// <summary>
        /// 总记录数
        /// </summary>
        public int TotalCount { get; set; }
        
        /// <summary>
        /// 当前页的数据项集合
        /// </summary>
        public List<T>Items { get; set; }
    }
}
